package org.clipjoint.service;


import org.clipjoint.entity.dto.UserDto;
import org.clipjoint.entity.User;

import java.sql.SQLException;
import java.util.List;

public interface UserAdminService {
    List<User> list(UserDto userDto) throws SQLException;

    Long count(UserDto build) throws SQLException;


    int add(User user) throws SQLException;

    int deleteAll(List<Long> ids);

    int del(Long id) throws SQLException;

    User getOneById(Long id) throws SQLException;

    int update(User user) throws SQLException;

    int addAll(List<User> users);
}
